<div class="box box-primary box-solid">
  <div class="box-header">
    <h3 class="box-title"><fmt:message key="loanRequestDetail.actionTitle"/></h3>
  </div>
  <!-- /.box-header -->
  <div class="box-body">

    <!-- dealer comments -->
    <div class="form-group">
      <label class="control-label"><fmt:message key="loanRequest.dealerComment"/>
        <c:if test="${phaseInfo.dealerCommentTitle!='' and phaseInfo!=null}"><small style="color:blue;"><fmt:message key="${phaseInfo.dealerCommentTitle}"/></small></c:if>
      </label>
      <form:textarea path="dealerComment" id="dealerComment" rows="3" cssClass="form-control"
                     readonly="true"/>
    </div>

    <!-- audit comments -->
    <div class="form-group"/>
    <label class="control-label"><fmt:message key="loanRequest.auditComment"/>
      <c:if test="${phaseInfo.auditCommentTitle!='' and phaseInfo!=null}"><small style="color:blue;"><fmt:message key="${phaseInfo.auditCommentTitle}"/></small></c:if>
    </label>
    <form:textarea path="auditComment" id="auditComment" rows="3" cssClass="form-control" readonly="true"/>
    </div>

<security:authorize ifNotGranted="ROLE_CA">
  <button type="submit" class="btn btn-primary margin" id="save" name="save">
    <i class="fa fa-save"></i> <fmt:message key="button.save"/></button>
</security:authorize>
  <a href='<c:url value="/loanRequestform?reqId=${loanRequest.id}"/>' class="btn btn-primary">
    <fmt:message key="button.back"/></a>
  <security:authorize ifAnyGranted="ROLE_CA">
    <button type="submit" class="btn btn-primary margin" id="save" name="save">
      <i class="fa fa-save"></i> <fmt:message key="button.save"/></button>
  </security:authorize>
  </div>
</div>
